symbols = '\~!@#$%^&*()_=-/,.?<>;:[]{}|'
zimu = 'abcdefghijklnmopqrstuvwxyzABCDEFGHIJKLNMOPQRSTUVWXYZ'
temp = input('请输入密码\n')
secret = str(temp)
while (secret.isspace() or len(secret) == 0) :
    temp = input("您输入的密码为空（或空格），请重新输入：")
    secret = str(temp)
if secret.isalnum():
    if len(secret) <= 8:
        print('低级密码')
else:
    if len(secret)<=8:
        print('不符合检查标准')
    else :
        for i in secret:
            if i in symbols:
                if secret[0] in zimu:
                    if len(secret) >= 16:
                        print('高级密码')
                        break
                else :
                    if len(secret) >= 8:
                        print('中级密码')
                        break
